package cn.edu.nuaa.model;

public class Classes {
    private Integer classId;
    private String className;
    private User user;

    public Classes() {
    }

    public Classes(Integer classId, String className, User user) {
        this.classId = classId;
        this.className = className;
        this.user = user;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", user=" + user +
                '}';
    }
}
